﻿using System;

namespace TowerCraneMonitorClient.NetClient
{
    public static class UnixTimeStampExtentions
    {
        public static UnixTimeStamp ToUnixTimeStamp(this DateTime time) => new UnixTimeStamp(time);
        public static UnixTimeStamp ToUnixTimeStamp(this long seconds) => new UnixTimeStamp(seconds);
    }
}
